let json = {
    legend: {
        'Catalog': {
            name: '目录',
            icon: 'project',
        },
        'Kettle': {
            name: 'Kettle',
            icon: 'project',
        }
    },
    data: [
        [
            {
                "id": 1,
                "name": "metro_qd",
                "classifier": 'Catalog',
                "children": [
                    {
                        "id": 2,
                        "name": "net_station_info",
                        "relations": [
                            {
                                "from": {
                                    "id": 2,
                                    "path": "1/2"
                                },
                                "to": {
                                    "id": 7,
                                    "path": "6/7"
                                }
                            }
                        ],
                        "children": [
                            {
                                "id": 21,
                                "name": "Item 1",
                                "relations": [
                                    {
                                        "from": {
                                            "id": 21,
                                            "path": "1/2/21"
                                        },
                                        "to": {
                                            "id": 71,
                                            "path": "6/7/71"
                                        }
                                    },
                                    {
                                        "from": {
                                            "id": 21,
                                            "path": "1/2/21"
                                        },
                                        "to": {
                                            "id": 51,
                                            "path": "4/5/51"
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 22,
                                "name": "Item 2",
                                "relations": [
                                    {
                                        "from": {
                                            "id": 22,
                                            "path": "1/2/22"
                                        },
                                        "to": {
                                            "id": 72,
                                            "path": "6/7/72"
                                        }
                                    },
                                    {
                                        "from": {
                                            "id": 22,
                                            "path": "1/2/22"
                                        },
                                        "to": {
                                            "id": 52,
                                            "path": "4/5/52"
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 23,
                                "name": "Item 3"
                            },
                            {
                                "id": 24,
                                "name": "Item 4"
                            },
                            {
                                "id": 25,
                                "name": "Item 5"
                            }
                        ]
                    },
                    {
                        "id": 3,
                        "name": "net_line_info",
                        "children": [
                            {
                                "id": 31,
                                "name": "Item 1"
                            },
                            {
                                "id": 32,
                                "name": "Item 2"
                            },
                            {
                                "id": 33,
                                "name": "Item 3"
                            }
                        ]
                    }
                ]
            }
        ],
        [
            {
                "id": 4,
                "name": "pantaho_qd",
                "classifier": 'Kettle',
                "children": [
                    {
                        "id": 5,
                        "name": "etl_hawq",
                        "children": [
                            {
                                "id": 51,
                                "name": "Item 1"
                            },
                            {
                                "id": 52,
                                "name": "Item 2"
                            },
                            {
                                "id": 53,
                                "name": "Item 3"
                            }
                        ]
                    }
                ]
            },
            {
                "id": 6,
                "name": "hawq_qd",
                "classifier": 'Catalog',
                "children": [
                    {
                        "id": 7,
                        "name": "net_station_info",
                        "children": [
                            {
                                "id": 71,
                                "name": "Item 1"
                            },
                            {
                                "id": 72,
                                "name": "Item 2"
                            },
                            {
                                "id": 73,
                                "name": "Item 3"
                            },
                            {
                                "id": 74,
                                "name": "Item 4"
                            },
                            {
                                "id": 75,
                                "name": "Item 5"
                            },
                            {
                                "id": 76,
                                "name": "Item 6"
                            }
                        ]
                    }
                ]
            }
        ]
    ]
}


